package sk.marek.barak.server;

import sk.marek.barak.client.UserInformation;
import sk.marek.barak.client.UserInfomationService;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;

public class UserInformationServiceImpl extends RemoteServiceServlet implements
		UserInfomationService {


	/**
	 * 
	 */
	private static final long serialVersionUID = 5448580962842340990L;

	@Override
	public UserInformation getUser(String userId) {
		return Facade.getUser(userId);
	}

	@Override
	public void saveUser(UserInformation user) {
		Facade.saveUser(user);
		
	}

	@Override
	public UserInformation getCurentUserInformation() {
		return Facade.getCurentUserInformation();
	}


}
